#if 0
#include"operator.h"

bool Date::operator==(Date& d)
{
	return _y == d._y && _m == d._m && _d == d._d;
}

bool Date::operator!=(Date& d)
{
	return !((*this) == d);
}

bool Date::operator>(Date& d)
{
	if (_y > d._y)
		return true;
	else
	{
		if (_y == d._y)
		{
			if (_m > d._m)
				return true;
			else
			{
				if (_m == d._m)
					return _d > d._d;
			}
		}
	}
	return false;
}

bool Date::operator>=(Date& d)
{
	return (*this) > d || (*this) == d;
}

bool Date::operator<(Date& d)
{
	return !((*this) >= d);
}
bool Date::operator<=(Date& d)
{
	return !((*this) > d);
}


Date& Date::operator=(const Date& d)
{
	_y = d._y;
	_m = d._m;
	_d = d._d;
	return (*this);
}
# endif